package com.itheima.b01task1;

public class Test {
    public static void main(String[] args) {
        Buyer b = new Buyer("heima001","zhangsan","采购人员");
        System.out.println(b.getId()+" "+b.getName()+" "+b.getJob());
        b.work();

        Maintainer m = new Maintainer("heima002","lisi","维修人员");
        System.out.println(m.getId()+" "+m.getName()+" "+m.getJob());
        m.work();
    }
}
